package cn.kgc.mapper;

import cn.kgc.pojo.Hstaff;
import cn.kgc.pojo.HstaffExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HstaffMapper {
    int countByExample(HstaffExample example);

    int deleteByExample(HstaffExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Hstaff record);

    int insertSelective(Hstaff record);

    List<Hstaff> selectByExample(HstaffExample example);

    Hstaff selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Hstaff record, @Param("example") HstaffExample example);

    int updateByExample(@Param("record") Hstaff record, @Param("example") HstaffExample example);

    int updateByPrimaryKeySelective(Hstaff record);

    int updateByPrimaryKey(Hstaff record);
}